package com.amikomgamedev.labirinhantu.game;

import com.amikomgamedev.labirinhantu.state.State_Activity;

public interface Game_Data 
{
	public final float[]	RATIO_RES_WIDTH_LIST		= {480, 800};
	public final float[]	RATIO_RES_HEIGHT_LIST		= {800, 480};

	public final float		RATIO_RES_WIDTH				= RATIO_RES_WIDTH_LIST[Game_Config.ORIENTATION_USE];
	public final float		RATIO_RES_HEIGHT			= RATIO_RES_HEIGHT_LIST[Game_Config.ORIENTATION_USE];

	public final float		RATIO_SPLIT_TASKBAR_WIDTH	= 160;
	public final float		RATIO_SPLIT_TASKBAR_HEIGHT	= 480;
	
	public final float		WIDTH						= State_Activity.activity.getWindowManager().getDefaultDisplay().getWidth();
	public final float		HEIGHT						= State_Activity.activity.getWindowManager().getDefaultDisplay().getHeight();
	
	public final float[]	RES_WIDTH_LIST	= 
			{
				(WIDTH > HEIGHT) ? HEIGHT : WIDTH
				, (WIDTH > HEIGHT) ? WIDTH : HEIGHT
			};
	public final float[]	RES_HEIGHT_LIST	= 
			{
				(WIDTH > HEIGHT) ? WIDTH : HEIGHT
				, (WIDTH > HEIGHT) ? HEIGHT : WIDTH
			};
	
	public final float		RES_WIDTH					= RES_WIDTH_LIST[Game_Config.ORIENTATION_USE];
	public final float		RES_HEIGHT					= RES_HEIGHT_LIST[Game_Config.ORIENTATION_USE];
	
	public final float		RES_SPLIT_TASKBAR_WIDTH		= RES_HEIGHT / RATIO_SPLIT_TASKBAR_HEIGHT * RATIO_SPLIT_TASKBAR_WIDTH;
	public final float		RES_SPLIT_MAIN_WIDTH		= RES_WIDTH - RES_SPLIT_TASKBAR_WIDTH;
	
	public final float		TIME_PER_BLOCK	= 1f;
}
